<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>GetWindowTitle</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">GetWindowTitle()</font></b></p>
<p><b>Syntax</b></p><blockquote>

Result$ = <font color="#006666"><b>GetWindowTitle</b></font>(#Window)  </blockquote>

</blockquote>
<b>Description</b><br><blockquote>



Returns the text currently displayed in the specified window's title bar. 

 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>#Window</i></td>
<td width="90%"> 
 
The window to use. 

 

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>



The text currently displayed in the specified window's title bar. 

 

</blockquote><p><b>Remarks</b></p><blockquote>



The title of a window can be changed with <a href="setwindowtitle.html">SetWindowTitle()</a>. 

 

</blockquote><p><b>Example</b></p><blockquote>

<pre><font face="Courier New, Courier, mono"size="2">  <b><font color="#006666">If</font></b> <font color="#006666">OpenWindow</font>(2, 100, 100, 200, 100, "My cool title")
    Title$ =<font color="#006666"> GetWindowTitle</font>(2)  <font color="#006666">; Will return "My cool title"</font>
  <b><font color="#006666">EndIf</font></b>
</font></pre>

</blockquote><p><b>See Also</b></p><blockquote>

<a href="setwindowtitle.html">SetWindowTitle()</a> 

</Blockquote><p><b>Supported OS  </b><Blockquote>All</Blockquote></p><center>&lt;- <a href=getwindowstate.html>GetWindowState()</a> - <a href=index.html>Window Index</a> - <a href=hidewindow.html>HideWindow()</a> -&gt;



</body></html>